package com.sinosoft.sm.message.dao;

import java.util.List;

import com.sinosoft.sm.message.entity.MessageRecordEntity;
import com.sinosoft.sm.message.web.dto.RecordData;
import com.sinosoft.sm.user.entity.UserEntity;

/**
 * 发送信息记录管理持久化接口定义
 * @author leichao
 */
public interface MessageRecordEntityMapper {

	/**
	 * 根据条件查询发送记录(查询条件待定,sql语句不完善)
	 * @param messageRecordEntity
	 * @return
	 */
	public List<MessageRecordEntity> getMessageRecords(MessageRecordEntity messageRecordEntity);
	
	/**
	 * 添加消息记录
	 * @param messageRecordEntity
	 */
	public void addMessageRecord(MessageRecordEntity messageRecordEntity);
	
	/**
	 * 根据id删除发送信息记录
	 * @param id
	 */
	public void deleteMessageRecordById(String id);

	/**
	 * 根据条件获取信息记录
	 * @param recordData
	 * @return
	 */
	public List<UserEntity> getRecords(RecordData recordData);
}
